FrameLib  2.0
DSP processing with frames of arbitrary timing and length
FL_SP Struct Reference

a minimal class for "super precision" fixed-point calculations where required. More...

#include <FrameLib_FixedPoint.h>

Public Member Functions

 FL_SP ()
 
 FL_SP (uint64_t a, uint64_t b, uint64_t c)
 
uint64_t intVal () const
 
uint64_t fracHiVal () const
 
uint64_t fracLoVal () const
 

Friends

FL_SP qMul (const FL_SP &a, const uint64_t &intVal, const uint64_t &fracVal)
 
FL_SP operator* (const FL_SP &a, const FL_SP &b)
 
FL_SP twoMinus (const FL_SP &b)
 

Detailed Description

a minimal class for "super precision" fixed-point calculations where required.

This unsigned type allows for 64 bits of integer precision and 128 bits of fractional precision.

Constructor & Destructor Documentation

◆ FL_SP() [1/2]

FL_SP::FL_SP ( )
inline

◆ FL_SP() [2/2]

FL_SP::FL_SP ( uint64_t  a,
uint64_t  b,
uint64_t  c 
)
inline

Member Function Documentation

◆ fracHiVal()

uint64_t FL_SP::fracHiVal ( ) const
inline

◆ fracLoVal()

uint64_t FL_SP::fracLoVal ( ) const
inline

◆ intVal()

uint64_t FL_SP::intVal ( ) const
inline

Friends And Related Function Documentation

◆ operator*

FL_SP operator* ( const FL_SP a,
const FL_SP b 
)
friend

◆ qMul

FL_SP qMul ( const FL_SP a,
const uint64_t &  intVal,
const uint64_t &  fracVal 
)
friend

◆ twoMinus

FL_SP twoMinus ( const FL_SP b)
friend

The documentation for this struct was generated from the following file: